package tt.dz.appserver.entity.model.pub;

import java.io.Serializable;
import java.util.Date;

import tt.dz.appserver.util.annotation.PrimaryKey;
import tt.dz.appserver.util.annotation.Table;

@Table(name="as_pub_comment")
public class Comment implements Serializable{

	private static final long serialVersionUID = 1L;

	@PrimaryKey
	private String comment_id;
	private String user_id;
	private Integer associated_type;
	private String associated_id;
	private String content;
	private Date comment_time;
	private String comment_addr;
	private Integer valid_flag;
	public void setComment_id(String comment_id){
		this.comment_id=comment_id;
	}
	public String getComment_id(){
		return comment_id;
	}
	public void setUser_id(String user_id){
		this.user_id=user_id;
	}
	public String getUser_id(){
		return user_id;
	}
	public void setAssociated_type(Integer associated_type){
		this.associated_type=associated_type;
	}
	public Integer getAssociated_type(){
		return associated_type;
	}
	public void setAssociated_id(String associated_id){
		this.associated_id=associated_id;
	}
	public String getAssociated_id(){
		return associated_id;
	}
	public void setContent(String content){
		this.content=content;
	}
	public String getContent(){
		return content;
	}
	public void setComment_time(Date comment_time){
		this.comment_time=comment_time;
	}
	public Date getComment_time(){
		return comment_time;
	}
	public void setComment_addr(String comment_addr){
		this.comment_addr=comment_addr;
	}
	public String getComment_addr(){
		return comment_addr;
	}
	public void setValid_flag(Integer valid_flag){
		this.valid_flag=valid_flag;
	}
	public Integer getValid_flag(){
		return valid_flag;
	}
}
